package com.dragonwu.service.impl;

import com.dragonwu.api.SayHelloService;
import com.dragonwu.dto.MsgDto;
import org.apache.dubbo.config.annotation.DubboService;

import java.util.Date;

/**
 * @author Dragon Wu
 * @since 2022-10-16 20:07
 **/
@DubboService
public class SayHelloServiceImpl implements SayHelloService {


    @Override
    public MsgDto sendMsg(String msg) {
        return new MsgDto("通过dubbo调用后："+msg,new Date());
    }
}
